package com.durian.city.api.domain;

import com.fasterxml.jackson.annotation.JsonInclude;
import com.durian.common.core.web.domain.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 城市对象 tb_city
 * 
 * @author durian
 * @date 2022-06-25
 */
@Data
@JsonInclude(JsonInclude.Include.NON_NULL)
@EqualsAndHashCode(callSuper = true)
public class City extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    private Long id;

    /**
     * 父级城市id
     */
    private Long pid;

    /**
     * 城市名称
     */
    private String cityname;


    private Long type;

}
